package com.ljm.boot.rabbitmq.constant;

public class RabbitMQConstant {

    //fanout广播模式
    public static final String FANOUT_QUEUE_1 = "queue_fanout01";
    public static final String FANOUT_QUEUE_2 = "queue_fanout02";

    //topic主题模式
    public static final String TOPIC_QUEUE_1 = "queue_topic01";
    public static final String TOPIC_QUEUE_2 = "queue_topic02";
    //路由
    public static final String topic_routingKey_1 = "#.queue.#";
    public static final String topic_routingKey_2 = "*.queue.#";

    //direct
    public static final String DIRECT_QUEUE_1 = "queue_direct01";
    public static final String DIRECT_QUEUE_2 = "queue_direct02";
    //路由
    public static final String DIRECT_routingKey_1 = "queue.red";
    public static final String DIRECT_routingKey_2 = "queue.green";

    //头部模式
    public static final String HEADER_QUEUE_1 = "queue_header01";
    public static final String HEADER_QUEUE_2 = "queue_header02";

    public static final String FANOUT_EXCHANGE = "fanoutExchange";
    public static final String TOPIC_EXCHANGE  = "topicExchange";
    public static final String DIRECT_EXCHANGE = "directExchange";
    public static final String HEADER_EXCHANGE = "headersExchange";

}
